<?php
/**
 * @copyright 
 * @license https://opensource.org/licenses/Apache-2.0
 * @link https://www.gougucms.com
 */

namespace app\admin\validate;
use think\Validate;

class WithdrawValidate extends Validate
{
    protected $rule = [
    'uid' => 'require',
    'money' => 'require',
    'type' => 'require',
    'wx_img' => 'require',
    'zfb_img' => 'require',
    'real_name' => 'require',
    'card_number' => 'require',
    'bank_account' => 'require',
    'bank_name' => 'require',
    'mobile' => 'require',
    'remark' => 'require',
    'status' => 'require',
    'refuse' => 'require',
    'create_time' => 'require',
    'update_time' => 'require',
    'rate' => 'require',
    'dz_money' => 'require',
    'tx_type' => 'require',
];

    protected $message = [
    'uid.require' => '用户ID不能为空',
    'money.require' => '提现金额不能为空',
    'type.require' => '提现方式:1微信,2支付宝,3银行卡不能为空',
    'wx_img.require' => '微信收款码不能为空',
    'zfb_img.require' => '支付宝收款码不能为空',
    'real_name.require' => '真实姓名不能为空',
    'card_number.require' => '身份证号不能为空',
    'bank_account.require' => '银行卡号不能为空',
    'bank_name.require' => '开户行不能为空',
    'mobile.require' => '手机号不能为空',
    'remark.require' => '备注不能为空',
    'status.require' => '提现状态:1申请中,2已通过,3已拒绝不能为空',
    'refuse.require' => '拒绝理由不能为空',
    'create_time.require' => '添加时间不能为空',
    'update_time.require' => '更新时间不能为空',
    'rate.require' => '手续费率不能为空',
    'dz_money.require' => '到账金额不能为空',
    'tx_type.require' => '类型:1佣金提现 2余额提现不能为空',
];
}